<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
		'id' => 'mission-form',
        'type' => 'horizontal',
		'enableClientValidation'=>true,
		'htmlOptions' => array('enableClientValidation'=>true), 
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

		<?php echo $form->textFieldRow($model,'mission_name',array('size'=>45,'maxlength'=>45)); ?>

		<?php echo $form->textFieldRow($model,'mission_location',array('size'=>45,'maxlength'=>45)); ?>

		<?php echo $form->textAreaRow($model,'mission_description',array('class' => 'span4', 'rows' => 5)); ?>

		<?php echo $form->textFieldRow($model,'mission_number_of_volunteer_needed'); ?>

		<?php echo $form->textFieldRow($model,'mission_contact_person_fname',array('size'=>45,'maxlength'=>45)); ?>
	
		<?php echo $form->textFieldRow($model,'mission_contact_person_lname',array('size'=>45,'maxlength'=>45)); ?>
		
		<?php echo $form->textFieldRow($model,'mission_contact_mobile',array('prepend' => '+63')); ?>
	
		<?php echo $form->textFieldRow($model,'mission_email',array('size'=>45,'maxlength'=>45)); ?>
	
	<div class="row">
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit','type'=>'info','label'=>'create','icon'=>'ok-circle white')); ?>
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'cancel','icon'=>'remove-circle')); ?>
    </div>

<?php $this->endWidget(); ?>
